package com.gblfy.ws.service.impl;

import com.gblfy.ws.service.ICxfService;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 * cxf接口实现类
 *
 * @author gblfy
 * @date 2021-09-17
 */
@WebService(serviceName = "cxfServiceShell",//对外发布的服务名
        targetNamespace = "http://service.ws.gblfy.com/",//指定你想要的名称空间，通常使用使用包名反转
        endpointInterface = "com.gblfy.ws.service.ICxfService")
@Component
public class CxfServiceImpl implements ICxfService {

    @Override
    public String sayhello(String request) {
        return "gblfy.com " + request;
    }
}
